enum Env {
  PROD,
  DEV,
  LOCAL,
}

class Config {
  static Env env;

  static String get apiHost {
    switch (env) {
      case Env.PROD:
        return "https://api.tianjiyunke.com/";
      case Env.DEV:
        return "https://tapi.tianjiyunke.com/";
      case Env.LOCAL:
        return "https://papi.tianjiyunke.com/";
      default:
        return "http://192.168.0.218:9999/";
    }
  }
}
